#pragma once
#include "vn/CommonExceptions.h"

void CommonExceptionsTest() {_test_func_;
	{
		// hierarchy of exceptions
		/* windows only
		Exception &a1 = Exception();
		Exception &a3 = ArgumentException();
		ArgumentException &a31 = ArgumentNullException();
		ArgumentException &a32 = ArgumentOutOfRangeException();
		Exception &a4 = InvalidOperationException();
		Exception &a5 = NotImplementedException();
		Exception &a6 = NotSupportedException();
		*/
		Exception a1;
		ArgumentException a3;
		ArgumentNullException a31;
		ArgumentOutOfRangeException a32;
		InvalidOperationException a4;
		NotImplementedException a5;
		NotSupportedException a6;
		
		Exception &r1 = a1;
		Exception &r3 = a3;
		ArgumentException &r31 = a31;
		ArgumentException &r32 = a32;
		Exception &r4 = a4;
		Exception &r5 = a5;
		Exception &r6 = a6;


	}
}
